package com.zxf.appliction.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zxf.appliction.domain.Review;

public interface ReviewMapper {
    int deleteByPrimaryKey(Integer reviewid);

    int insert(Review record);

    int insertSelective(Review record);

    Review selectByPrimaryKey(Integer reviewid);

    int updateByPrimaryKeySelective(Review record);

    int updateByPrimaryKey(Review record);

	List<Review> getReviewList(@Param("articleid")Integer articleid);

	List<Review> gethotReviewList(@Param("i")Integer i);
}